<html>
<body>
<h1>Edit Event</h1>
<form method="post">{% csrf_token %}
<table border ="1">
<tr><td>Title</td><td><input name="name" type="text" value="{{event.eventName}}" size="30" maxlength="30"/></td></tr>
<tr><td>Start Date</td><td><input name="StartDate" type="text" value="{{template.StartDate}}" size="10" maxlength="50"/></td></tr>
<tr><td>End Date</td><td><input name="EndDate" type="text" value="{{template.EndDate}}" size="10" maxlength="50"/></td></tr>
<tr><td>Start Time</td><td><input name="StartTime" type="text" value="{{template.StartTime}}" size="10" maxlength="50"/></td></tr>
<tr><td>End Time</td><td><input name="EndTime" type="text" value="{{template.EndTime}}" size="10" maxlength="50"/></td></tr>
<tr><td>Location</td><td><input name="location" type="text" value="{{location.name}}" size="10" maxlength="50"/></td></tr>
<tr><td>Payment</td><td><input name="paymentAmount" type="text" value="{{payment.paymentAmount}}" size="10" maxlength="50"/></td></tr>
<tr><td>Deadline</td><td><input name="deadline" type="text" value="{{payment.deadline}}" size="10" maxlength="50"/></td></tr>
<tr><td>Private</td><td> <input name="visibility" type="checkbox" {% if event.visibility = 0 %}checked="yes"{% endif %}  /><br /></td></tr>

<tr><td><input type="submit" value="submit""/></td></tr></table>
</form>
</body>


</html>